from rest_framework import serializers
from main.models import Excursion, Outcrop

class ExcursionSerializer(serializers.ModelSerializer):
    class Meta:
        model = Excursion
        fields = ('id', 'name')

class OutcropSerializer(serializers.ModelSerializer):
    class Meta:
        model = Outcrop
        fields = ('id', 'name')